Skip to main content

revXMLRPC_Error

Type​

function

Summary​

If an error occurred during the execution of an XML-RPC request, this function returns the error.

Syntax​

revXMLRPC_Error(<XMLRPCdocumentID>)

Description​

Use the revXMLRPC_Error function to check if an error occurred during the execution of an XML-RPC request.

Parameters​

NameTypeDescription

XMLRPCdocumentID

integer

The number returned by the revXMLRPC_CreateRequest function when you created the XML-RPC request.

Examples​

local tError
put revXMLRPC_Error(tRequest) into tError

Value​

NameTypeDescription

return

string

If the revXMLRPC_Error function encounters an error, it returns an error message starting with "xmlrpcerr" .. If no error was encountered during the execution of the XML-RPC request, you can retrieve the XML-RPC document ID of the response, by calling the revXMLRPC_GetResponse function.

function: revXMLRPC_GetResponse

glossary: LiveCode custom library, Standalone Application Settings, standalone application, function, XML-RPC

library: XML-RPC library

Compatibility and Support​

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?